export default [
  {
    path: '/',
    component: '@/pages/index',
    name: '首页',
  },
  {
    path: '/stu',
    name: '学生管理',
    routes: [
      {
        path: '/stu/list',
        component: '@/pages/student/list',
        name: '学生列表',
      },
      {
        path: '/stu/pub',
        component: '@/pages/student/pub',
        name: '学生添加',
      },
    ],
  },
];
